package com.wgchao.authprovider.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import lombok.*;

/**
 * @Description  
 * @Author  Wgchao
 * @Date 2019-08-10 
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table ( name ="sys_user_role" )
public class SysUserRole  implements Serializable {

	private static final long serialVersionUID =  2763016229388536872L;

	/**
	 * 用户编号
	 */
   	@Column(name = "user_id" )
	private Long userId;

	/**
	 * 角色编号
	 */
   	@Column(name = "role_id" )
	private Long roleId;

}
